c program to check the given number format is in binary or not